package ru.paswd.marketprice.ui.view

import moxy.MvpView
import moxy.viewstate.strategy.AddToEndStrategy
import moxy.viewstate.strategy.StateStrategyType

interface BaseView : MvpView {
    @StateStrategyType(AddToEndStrategy::class)
    fun onRefreshed()

    @StateStrategyType(AddToEndStrategy::class)
    fun showMessage(message: String?)

    @StateStrategyType(AddToEndStrategy::class)
    fun showMessage(resourceId: Int)

    @StateStrategyType(AddToEndStrategy::class)
    fun showNotificationDialog(title: String, message: String, onDialogClosed: Runnable)
}